package com.shiguiwu.springmybatis.designpattern.proxy.dynamicproxy;

/**
 * @description: 动态代理及原理,而且是无子类
 *
 *
 * @author: stone
 * @date: Created by 2021/9/11 23:07
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.proxy.dynamicproxy
 */
public class DynamicTests {

    public static void main(String[] args) {

        IUserDao userDao = UserProxy.newDaoProxy(IUserDao.class);
        userDao.eat("2");

    }

}
